from Lib.Core.Scene import Scene


class SceneMap(Scene):
    def __init__(self):
        super().__init__("SceneMap")
        from Lib.Core.UISprite import UISprite
        from Lib.UtilsGame import GeneratorColorSurface
        from Lib.Core.UIResponse import UIResponse
        sp = UISprite(GeneratorColorSurface([300, 300], [255, 0, 0]))
        print(sp.image)
        from Lib.Core.Game import UILayer
        rp = UIResponse([0, 0, 300, 300], UILayer.BOT.value)
        rp.add(sp)
        from constants import game
        game.ui_group.add(rp)
        from Lib.UtilsGame import CutScreenBlack
        CutScreenBlack("in")
